package cn.kgc.admin.service;

import cn.kgc.admin.api.BrandApi;
import cn.kgc.common.entity.Brand;
import cn.kgc.common.entity.DataPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BrandServiceImpl implements BrandService{
    @Autowired
    private BrandApi brandApi;
    @Override
    public DataPage<Brand> listBrand(Integer pageNum, Integer pageSize) {
        return brandApi.listBrand(pageNum,pageSize);
    }
}
